package www.cslc.com.infogw.dto.generated;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 * <p>
 * Java class for anonymous complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="ErrNo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="ErrMsg" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="GameTemplates" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="Item" minOccurs="0">
 *                     &lt;complexType>
 *                       &lt;complexContent>
 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           &lt;sequence>
 *                             &lt;element name="GameNo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                             &lt;element name="GameName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                             &lt;element name="Template" maxOccurs="unbounded" minOccurs="0">
 *                               &lt;complexType>
 *                                 &lt;complexContent>
 *                                   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                                     &lt;sequence>
 *                                       &lt;element name="DrawWeekNo" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *                                       &lt;element name="SaleBeginDateOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *                                       &lt;element name="SaleBeginTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                                       &lt;element name="SaleEndDateOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *                                       &lt;element name="SaleEndTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                                       &lt;element name="PreDrawWeekNo" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *                                       &lt;element name="DrawTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                                       &lt;element name="PaidBeginDateOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *                                       &lt;element name="PaidBeginTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                                       &lt;element name="PaidEndDateOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *                                       &lt;element name="PaidEndTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                                     &lt;/sequence>
 *                                   &lt;/restriction>
 *                                 &lt;/complexContent>
 *                               &lt;/complexType>
 *                             &lt;/element>
 *                           &lt;/sequence>
 *                         &lt;/restriction>
 *                       &lt;/complexContent>
 *                     &lt;/complexType>
 *                   &lt;/element>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "errNo", "errMsg", "gameTemplates" })
@XmlRootElement(name = "GameTemplateInfoResponse", namespace = "")
public class GameTemplateInfoResponse {

	@XmlElement(name = "ErrNo")
	protected String errNo;
	@XmlElement(name = "ErrMsg")
	protected String errMsg;
	@XmlElement(name = "GameTemplates")
	protected GameTemplateInfoResponse.GameTemplates gameTemplates;

	/**
	 * Gets the value of the errNo property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getErrNo() {
		return errNo;
	}

	/**
	 * Sets the value of the errNo property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setErrNo(String value) {
		this.errNo = value;
	}

	/**
	 * Gets the value of the errMsg property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getErrMsg() {
		return errMsg;
	}

	/**
	 * Sets the value of the errMsg property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setErrMsg(String value) {
		this.errMsg = value;
	}

	/**
	 * Gets the value of the gameTemplates property.
	 * 
	 * @return possible object is {@link GameTemplateInfoResponse.GameTemplates }
	 * 
	 */
	public GameTemplateInfoResponse.GameTemplates getGameTemplates() {
		return gameTemplates;
	}

	/**
	 * Sets the value of the gameTemplates property.
	 * 
	 * @param value
	 *            allowed object is
	 *            {@link GameTemplateInfoResponse.GameTemplates }
	 * 
	 */
	public void setGameTemplates(GameTemplateInfoResponse.GameTemplates value) {
		this.gameTemplates = value;
	}

	/**
	 * <p>
	 * Java class for anonymous complex type.
	 * 
	 * <p>
	 * The following schema fragment specifies the expected content contained
	 * within this class.
	 * 
	 * <pre>
	 * &lt;complexType>
	 *   &lt;complexContent>
	 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
	 *       &lt;sequence>
	 *         &lt;element name="Item" minOccurs="0">
	 *           &lt;complexType>
	 *             &lt;complexContent>
	 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
	 *                 &lt;sequence>
	 *                   &lt;element name="GameNo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
	 *                   &lt;element name="GameName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
	 *                   &lt;element name="Template" maxOccurs="unbounded" minOccurs="0">
	 *                     &lt;complexType>
	 *                       &lt;complexContent>
	 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
	 *                           &lt;sequence>
	 *                             &lt;element name="DrawWeekNo" type="{http://www.w3.org/2001/XMLSchema}int"/>
	 *                             &lt;element name="SaleBeginDateOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
	 *                             &lt;element name="SaleBeginTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
	 *                             &lt;element name="SaleEndDateOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
	 *                             &lt;element name="SaleEndTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
	 *                             &lt;element name="PreDrawWeekNo" type="{http://www.w3.org/2001/XMLSchema}int"/>
	 *                             &lt;element name="DrawTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
	 *                             &lt;element name="PaidBeginDateOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
	 *                             &lt;element name="PaidBeginTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
	 *                             &lt;element name="PaidEndDateOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
	 *                             &lt;element name="PaidEndTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
	 *                           &lt;/sequence>
	 *                         &lt;/restriction>
	 *                       &lt;/complexContent>
	 *                     &lt;/complexType>
	 *                   &lt;/element>
	 *                 &lt;/sequence>
	 *               &lt;/restriction>
	 *             &lt;/complexContent>
	 *           &lt;/complexType>
	 *         &lt;/element>
	 *       &lt;/sequence>
	 *     &lt;/restriction>
	 *   &lt;/complexContent>
	 * &lt;/complexType>
	 * </pre>
	 * 
	 * 
	 */
	@XmlAccessorType(XmlAccessType.FIELD)
	@XmlType(name = "", propOrder = { "item" })
	public static class GameTemplates {

		@XmlElement(name = "Item")
		protected GameTemplateInfoResponse.GameTemplates.Item item;

		/**
		 * Gets the value of the item property.
		 * 
		 * @return possible object is
		 *         {@link GameTemplateInfoResponse.GameTemplates.Item }
		 * 
		 */
		public GameTemplateInfoResponse.GameTemplates.Item getItem() {
			return item;
		}

		/**
		 * Sets the value of the item property.
		 * 
		 * @param value
		 *            allowed object is
		 *            {@link GameTemplateInfoResponse.GameTemplates.Item }
		 * 
		 */
		public void setItem(GameTemplateInfoResponse.GameTemplates.Item value) {
			this.item = value;
		}

		/**
		 * <p>
		 * Java class for anonymous complex type.
		 * 
		 * <p>
		 * The following schema fragment specifies the expected content
		 * contained within this class.
		 * 
		 * <pre>
		 * &lt;complexType>
		 *   &lt;complexContent>
		 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
		 *       &lt;sequence>
		 *         &lt;element name="GameNo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
		 *         &lt;element name="GameName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
		 *         &lt;element name="Template" maxOccurs="unbounded" minOccurs="0">
		 *           &lt;complexType>
		 *             &lt;complexContent>
		 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
		 *                 &lt;sequence>
		 *                   &lt;element name="DrawWeekNo" type="{http://www.w3.org/2001/XMLSchema}int"/>
		 *                   &lt;element name="SaleBeginDateOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
		 *                   &lt;element name="SaleBeginTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
		 *                   &lt;element name="SaleEndDateOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
		 *                   &lt;element name="SaleEndTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
		 *                   &lt;element name="PreDrawWeekNo" type="{http://www.w3.org/2001/XMLSchema}int"/>
		 *                   &lt;element name="DrawTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
		 *                   &lt;element name="PaidBeginDateOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
		 *                   &lt;element name="PaidBeginTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
		 *                   &lt;element name="PaidEndDateOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
		 *                   &lt;element name="PaidEndTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
		 *                 &lt;/sequence>
		 *               &lt;/restriction>
		 *             &lt;/complexContent>
		 *           &lt;/complexType>
		 *         &lt;/element>
		 *       &lt;/sequence>
		 *     &lt;/restriction>
		 *   &lt;/complexContent>
		 * &lt;/complexType>
		 * </pre>
		 * 
		 * 
		 */
		@XmlAccessorType(XmlAccessType.FIELD)
		@XmlType(name = "", propOrder = { "gameNo", "gameName", "template" })
		public static class Item {

			@XmlElement(name = "GameNo")
			protected String gameNo;
			@XmlElement(name = "GameName")
			protected String gameName;
			@XmlElement(name = "Template")
			protected List<GameTemplateInfoResponse.GameTemplates.Item.Template> template;

			/**
			 * Gets the value of the gameNo property.
			 * 
			 * @return possible object is {@link String }
			 * 
			 */
			public String getGameNo() {
				return gameNo;
			}

			/**
			 * Sets the value of the gameNo property.
			 * 
			 * @param value
			 *            allowed object is {@link String }
			 * 
			 */
			public void setGameNo(String value) {
				this.gameNo = value;
			}

			/**
			 * Gets the value of the gameName property.
			 * 
			 * @return possible object is {@link String }
			 * 
			 */
			public String getGameName() {
				return gameName;
			}

			/**
			 * Sets the value of the gameName property.
			 * 
			 * @param value
			 *            allowed object is {@link String }
			 * 
			 */
			public void setGameName(String value) {
				this.gameName = value;
			}

			/**
			 * Gets the value of the template property.
			 * 
			 * <p>
			 * This accessor method returns a reference to the live list, not a
			 * snapshot. Therefore any modification you make to the returned
			 * list will be present inside the JAXB object. This is why there is
			 * not a <CODE>set</CODE> method for the template property.
			 * 
			 * <p>
			 * For example, to add a new item, do as follows:
			 * 
			 * <pre>
			 * getTemplate().add(newItem);
			 * </pre>
			 * 
			 * 
			 * <p>
			 * Objects of the following type(s) are allowed in the list
			 * {@link GameTemplateInfoResponse.GameTemplates.Item.Template }
			 * 
			 * 
			 */
			public List<GameTemplateInfoResponse.GameTemplates.Item.Template> getTemplate() {
				if (template == null) {
					template = new ArrayList<GameTemplateInfoResponse.GameTemplates.Item.Template>();
				}
				return this.template;
			}

			/**
			 * <p>
			 * Java class for anonymous complex type.
			 * 
			 * <p>
			 * The following schema fragment specifies the expected content
			 * contained within this class.
			 * 
			 * <pre>
			 * &lt;complexType>
			 *   &lt;complexContent>
			 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
			 *       &lt;sequence>
			 *         &lt;element name="DrawWeekNo" type="{http://www.w3.org/2001/XMLSchema}int"/>
			 *         &lt;element name="SaleBeginDateOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
			 *         &lt;element name="SaleBeginTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
			 *         &lt;element name="SaleEndDateOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
			 *         &lt;element name="SaleEndTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
			 *         &lt;element name="PreDrawWeekNo" type="{http://www.w3.org/2001/XMLSchema}int"/>
			 *         &lt;element name="DrawTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
			 *         &lt;element name="PaidBeginDateOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
			 *         &lt;element name="PaidBeginTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
			 *         &lt;element name="PaidEndDateOffset" type="{http://www.w3.org/2001/XMLSchema}int"/>
			 *         &lt;element name="PaidEndTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
			 *       &lt;/sequence>
			 *     &lt;/restriction>
			 *   &lt;/complexContent>
			 * &lt;/complexType>
			 * </pre>
			 * 
			 * 
			 */
			@XmlAccessorType(XmlAccessType.FIELD)
			@XmlType(name = "", propOrder = { "drawWeekNo",
					"saleBeginDateOffset", "saleBeginTime",
					"saleEndDateOffset", "saleEndTime", "preDrawWeekNo",
					"drawTime", "paidBeginDateOffset", "paidBeginTime",
					"paidEndDateOffset", "paidEndTime" })
			public static class Template {

				@XmlElement(name = "DrawWeekNo")
				protected int drawWeekNo;
				@XmlElement(name = "SaleBeginDateOffset")
				protected int saleBeginDateOffset;
				@XmlElement(name = "SaleBeginTime")
				protected String saleBeginTime;
				@XmlElement(name = "SaleEndDateOffset")
				protected int saleEndDateOffset;
				@XmlElement(name = "SaleEndTime")
				protected String saleEndTime;
				@XmlElement(name = "PreDrawWeekNo")
				protected int preDrawWeekNo;
				@XmlElement(name = "DrawTime")
				protected String drawTime;
				@XmlElement(name = "PaidBeginDateOffset")
				protected int paidBeginDateOffset;
				@XmlElement(name = "PaidBeginTime")
				protected String paidBeginTime;
				@XmlElement(name = "PaidEndDateOffset")
				protected int paidEndDateOffset;
				@XmlElement(name = "PaidEndTime")
				protected String paidEndTime;

				/**
				 * Gets the value of the drawWeekNo property.
				 * 
				 */
				public int getDrawWeekNo() {
					return drawWeekNo;
				}

				/**
				 * Sets the value of the drawWeekNo property.
				 * 
				 */
				public void setDrawWeekNo(int value) {
					this.drawWeekNo = value;
				}

				/**
				 * Gets the value of the saleBeginDateOffset property.
				 * 
				 */
				public int getSaleBeginDateOffset() {
					return saleBeginDateOffset;
				}

				/**
				 * Sets the value of the saleBeginDateOffset property.
				 * 
				 */
				public void setSaleBeginDateOffset(int value) {
					this.saleBeginDateOffset = value;
				}

				/**
				 * Gets the value of the saleBeginTime property.
				 * 
				 * @return possible object is {@link String }
				 * 
				 */
				public String getSaleBeginTime() {
					return saleBeginTime;
				}

				/**
				 * Sets the value of the saleBeginTime property.
				 * 
				 * @param value
				 *            allowed object is {@link String }
				 * 
				 */
				public void setSaleBeginTime(String value) {
					this.saleBeginTime = value;
				}

				/**
				 * Gets the value of the saleEndDateOffset property.
				 * 
				 */
				public int getSaleEndDateOffset() {
					return saleEndDateOffset;
				}

				/**
				 * Sets the value of the saleEndDateOffset property.
				 * 
				 */
				public void setSaleEndDateOffset(int value) {
					this.saleEndDateOffset = value;
				}

				/**
				 * Gets the value of the saleEndTime property.
				 * 
				 * @return possible object is {@link String }
				 * 
				 */
				public String getSaleEndTime() {
					return saleEndTime;
				}

				/**
				 * Sets the value of the saleEndTime property.
				 * 
				 * @param value
				 *            allowed object is {@link String }
				 * 
				 */
				public void setSaleEndTime(String value) {
					this.saleEndTime = value;
				}

				/**
				 * Gets the value of the preDrawWeekNo property.
				 * 
				 */
				public int getPreDrawWeekNo() {
					return preDrawWeekNo;
				}

				/**
				 * Sets the value of the preDrawWeekNo property.
				 * 
				 */
				public void setPreDrawWeekNo(int value) {
					this.preDrawWeekNo = value;
				}

				/**
				 * Gets the value of the drawTime property.
				 * 
				 * @return possible object is {@link String }
				 * 
				 */
				public String getDrawTime() {
					return drawTime;
				}

				/**
				 * Sets the value of the drawTime property.
				 * 
				 * @param value
				 *            allowed object is {@link String }
				 * 
				 */
				public void setDrawTime(String value) {
					this.drawTime = value;
				}

				/**
				 * Gets the value of the paidBeginDateOffset property.
				 * 
				 */
				public int getPaidBeginDateOffset() {
					return paidBeginDateOffset;
				}

				/**
				 * Sets the value of the paidBeginDateOffset property.
				 * 
				 */
				public void setPaidBeginDateOffset(int value) {
					this.paidBeginDateOffset = value;
				}

				/**
				 * Gets the value of the paidBeginTime property.
				 * 
				 * @return possible object is {@link String }
				 * 
				 */
				public String getPaidBeginTime() {
					return paidBeginTime;
				}

				/**
				 * Sets the value of the paidBeginTime property.
				 * 
				 * @param value
				 *            allowed object is {@link String }
				 * 
				 */
				public void setPaidBeginTime(String value) {
					this.paidBeginTime = value;
				}

				/**
				 * Gets the value of the paidEndDateOffset property.
				 * 
				 */
				public int getPaidEndDateOffset() {
					return paidEndDateOffset;
				}

				/**
				 * Sets the value of the paidEndDateOffset property.
				 * 
				 */
				public void setPaidEndDateOffset(int value) {
					this.paidEndDateOffset = value;
				}

				/**
				 * Gets the value of the paidEndTime property.
				 * 
				 * @return possible object is {@link String }
				 * 
				 */
				public String getPaidEndTime() {
					return paidEndTime;
				}

				/**
				 * Sets the value of the paidEndTime property.
				 * 
				 * @param value
				 *            allowed object is {@link String }
				 * 
				 */
				public void setPaidEndTime(String value) {
					this.paidEndTime = value;
				}

			}

		}

	}

}
